﻿#ifndef __H_USERINFO_H__
#define __H_USERINFO_H__

#include "DatabaseMgmt_global.h"
#include "common.h"

class DATABASEMGMT_EXPORT CUserInfo
{
public:
	CUserInfo();
	virtual ~CUserInfo();

	uint32_t queryUserInfo(uint32_t uid, UserInfo& info);
	uint32_t queryUserInfo(QString strAccountName, UserInfo& info);

	uint32_t checkeUserInfo(QString strAccountName, QString strAccountPassword);

	uint32_t removeUserInfo(uint32_t uid);

	uint32_t removeUserInfo(QString strAccountName);

	

protected:
	void init();

};


#endif // __H_USERINFO_H__
